package cn.wolfcode.p2p;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;

@Configuration//声明为配置类
@PropertySources({
        @PropertySource("classpath:application-core.properties"),
        @PropertySource("classpath:msg.properties")
})
@MapperScan(basePackages = {"cn.wolfcode.p2p.base.mapper","cn.wolfcode.p2p.bussness.mapper"})
public class CoreConfig {

}
